package com.xz.simplerpc.console.domain;

import java.io.Serializable;

/**
 * Created by fingal on 2018/1/14.
 */
public class ProviderInfo implements Serializable {
    private String service;
    private String address;
    private Boolean enable;

    public ProviderInfo() {}

    public ProviderInfo(String address, Boolean enable) {
        this.address = address;
        this.enable = enable;
    }

    public ProviderInfo(String service, String address, Boolean enable) {
        this.service = service;
        this.address = address;
        this.enable = enable;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        return "ProviderInfo{" +
                "service='" + service + '\'' +
                ", address='" + address + '\'' +
                ", enable=" + enable +
                '}';
    }
}
